# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1046.15.53 -> 1.1046.15.54 # kernel/fork.c 1.118.1.3 -> 1.118.1.4 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/06/04 davidm@tiger.hpl.hp.com 1.1046.15.54 # fork.c: # More minor cleanups # -------------------------------------------- # diff -Nru a/kernel/fork.c b/kernel/fork.c --- a/kernel/fork.c Mon Sep 22 13:00:11 2003 +++ b/kernel/fork.c Mon Sep 22 13:00:11 2003 @@ -75,7 +75,7 @@ #ifndef __HAVE_ARCH_TASK_STRUCT_ALLOCATOR # define alloc_task_struct() kmem_cache_alloc(task_struct_cachep, GFP_KERNEL) # define free_task_struct(tsk) kmem_cache_free(task_struct_cachep, (tsk)) - static kmem_cache_t *task_struct_cachep; +static kmem_cache_t *task_struct_cachep; #endif static void free_task(struct task_struct *tsk) @@ -216,7 +216,7 @@ init_task.rlim[RLIMIT_NPROC].rlim_max = max_threads/2; } -struct task_struct *dup_task_struct(struct task_struct *orig) +static struct task_struct *dup_task_struct(struct task_struct *orig) { struct task_struct *tsk; struct thread_info *ti;